public class Funciton
{
	public static void main(String args[])
	{
		System.out.println(add(1,2));	
		System.out.println(add(1,2,3));	
		System.out.println(add(1.3f,2.4f));	
	}

	public static int add(int x , int y)
	{
		return x+y;
	}

	public static int add(int x , int y , int z)
	{
		return x+y+z;
	}

	public static float add(float x , float y)
	{
		return x+y;
	}

}






